Linking Two Steps
Linking steps is a valuable feature that allows you to navigate to another existing step within the dialog based on specified conditions.
Link steps using Flow Diagram
To link two steps, follow these steps:
- Position the cursor on the flow step you want to link and click the Link to Step icon. The "Link step" pop-up appears.
- Select the desired flow step from the Link step field.
- Optionally add a condition if necessary, and click Save.
A soft link is created between the two steps.
In DRUID version 1.63 and below, follow these:
- Place the cursor on the flow and click and hold the left mouse button within the green frame. A pink frame highlights the flow step, and a blue arrow appears.
- Move the mouse to the step you want to link to and release the mouse button.
A strong link is created between the two flow steps.
Link steps using the Flow Designer in list view
To link steps, follow these steps:
- Click the Link to Step icon displayed inline with the step. The "Link step" pop-up appears.
- Click inside the Link step field to reveal the list of all flow steps.
- Select the desired step to be linked, either directly or using the search bar.
- Optionally, specify a condition in the format: [[[key]].value / @ (entity / local variable) if you want to link the step based on a specific condition.
- Click Save.
The linked step will be shown in orange, telling the bot author that the next step is a link or a new step.
By leveraging the linking steps feature, you can seamlessly navigate within the dialog, enhancing the flexibility and responsiveness of your chatbot's conversation flow.